<div ng-controller="LeftController">
    <div ng-class="{hide: !isCollectionMenu}" style="padding-bottom: 10px;">
        <select class="form-control" ng-model="menuCollectionId">
            <option value="" ng-if="collectionCount == 0">请选择索引</option>
            <option ng-repeat="(collectionName, collectionId) in collectionSortedMap" value="{{ collectionId }}" ng-selected="menuCollectionId == collectionId">{{ collectionName }}</option>
        </select>
    </div>
    <ul class="list-group">
        <a href="#{{ leftMenu.url.replace(':id', menuCollectionId) }}" ng-repeat="leftMenu in leftMenus" ng-class="{'list-group-item': true, 'active': (leftMenu.url == currentMenuUrl)}">{{ leftMenu.name }}</a>
    </ul>
</div>
